export default {
    path: '/f.html',
    name: 'factory',
    component: resolve => require(['../views/factory/index.vue'], resolve),
    meta: {
        title: '房间',
        requireAuth: true,
        userType: 'all',
        type: 'factory'
    },
    children: [
        {
            path: '/f/login.html',
            name: 'factory-login',
            component: resolve => require(['../views/factory/login/index.vue'], resolve),
            meta: {
                title: '房间登陆',
                requireAuth: true,
                userType: 'all',
                roomAuth: true,
                type: 'factory'
            }
        },
        {
            path: '/f/chat.html',
            name: 'factory-chat',
            component: resolve => require(['../views/factory/chat/index.vue'], resolve),
            meta: {
                title: '聊天室',
                requireAuth: true,
                userType: 'all',
                roomAuth: true,
                type: 'factory'
            }
        }
    ]
}